<template>  
				<mdp-select :width="width" v-model="value" placeholder="数据源" :loadFun="dataSourceList" :init-load="true"/> 
</template> 
<script> 

import {dataSourceList} from '@/api/mdp/dm/meta'
export default {
	name: 'MdpSelectDataSource', 
	props: {
		width:null,
		modelValue: {
			type:[String,Array],
			default:function(){
				return ''
			}
		}
	},
	computed: {
		value:{
			set(val){
				this.$emit('update:modelValue',val)
			},
			get(){
				return this.modelValue
			}
		}
	}, 
	methods:{ 
		dataSourceList
	}, 
}
</script>
